﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.SalesManagement
{
    /// <summary>
    /// 销售报价
    /// </summary>
    public class Sheet
    {
        /// <summary>
        /// 报价单Id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 报价单名称
        /// </summary>
        public string SheetName { get; set; }
        /// <summary>
        /// 报价单编号
        /// </summary>
        public string SheetCode {  get; set; }
        /// <summary>
        /// 报价日期
        /// </summary>
        public DateTime? SheetTime {  get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public int CustomerId {  get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public string TaxRate {  get; set; }
        /// <summary>
        /// 是否审核
        /// </summary>
        public int Review {  get; set; }
        /// <summary>
        /// 是否生效
        /// </summary>
        public int Effect { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Desc {  get; set; }
        /// <summary>
        /// 产品
        /// </summary>
        public int ProductId {  get; set; }
        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }
}
